package controllers;

import models.Usuario;
import controllers.Secure.Security;

public class Seguranca extends Security {

	static boolean authenticate(String username, String password) {
		if (Usuario.find("login = ? AND senha = ?", username, password).first() != null) {
			return true;
		} else {
			return false;
		}
	}
	
    static boolean check(String profile) {
        return true;
    }
}
